{% extends '@App/Layout.html.twig' %}
{% block body %}
		<!--案例内容-->
		<div class="jumbotron">
			<div class="container">
				<hgroup>
					<h1>全站搜索</h1>
					<h4>生活中虽然充满苦难，但人生总会有不期而遇的温暖和生生不息的希望。希望你对这个世界仍抱有善意，世界也一定会以善意回应你！</h4>
				</hgroup>
			</div>
		</div>
		<!--内容-->
	<h2 class="tab-h2">[全站搜索，带你回家]</h2>
	<p class="tab-p">您要查找的“{{ name }}”，相关查询结果如下</p>
	<div  id="search">
		<div class="container">
			<div class="row">
				<div class="col-md-6 col-lg-6 col-xs-6 col-sm-6 search">
					<!--内部百分百-->
					<div class="container-fluid">
						<blockquote>
							<h4>失踪人口对比<span class="badge" style="margin: 0 10px;">{{ count1 }}</span></h4>
						</blockquote>
						{% for case1 in case1 %}
						<div class="row">
							<div class="col-md-5 col-sm-5 col-xs-5 zx"> <a href="{{ path('personinfo', {'id':  case1.Id }) }}"><img class="img-responsive " src="{{ case1.PhotoUrl }}"  alt=""></a></div>
								<div class="col-md-7 col-sm-7 col-xs-7 rx">
								<a href="{{ path('personinfo', {'id':  case1.Id }) }}"><h4>{{ case1.FullName }}  {{ case1.HomeCity }}</h4></a>
								<p>{{ case1.Age }} {{ case1.Sex }} </p>
								<p>{{ case1.Description }}</p>
								</div>
					</div>
					{% endfor %}
				</div>
				</div>
				<div class="col-md-5  col-lg-5 col-xs-5 col-sm-5 search search-right">
					<!--一般在内容内都用100%.container-fluid-->
					<div class="container-fluid">
						<!--标题-->
						<blockquote>
							<h4>相关线索<span class="badge" style="margin: 0 10px;">{{ count2 }}</span></h4>
						</blockquote>
						<div class="row">
							{% for case2 in case2 %}<div class="col-md-5 col-sm-5 col-xs-5 zx"> <a href="{{ path('clueinfo', {'id':  case2.Id }) }}"><img class="img-responsive " src="{{ case2.PhotoUrl }}"  alt=""></a></div>
								<div class="col-md-7 col-sm-7 col-xs-7 rx">
								<a href="{{ path('clueinfo', {'id':  case2.Id }) }}"><h4>{{ case2.FullName }}  {{ case2.LastKnownLocation }}</h4></a>
								<p>{{ case2.AuthorName}}  {{ case2.EntryDate }}</p>
								<p>{{ case2.Text }}</p>
								</div>{% endfor %}
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
{% endblock %}
